<template>
  <div>
    <!-- 查询  -->
      <el-popover placement="bottom-start" width="820"  trigger="click">
      <el-form :inline="true" label-width="90px" :model="search"  class="search-panle">
        <el-form-item label="部门名称" ><el-input v-model="search.userName" ></el-input></el-form-item>
        <el-form-item label="发生时间" ><el-date-picker v-model="search.reqTime"  type="daterange"   range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" align="right"></el-date-picker></el-form-item>
        <el-button type="primary" @click="searchClick">提交</el-button>
      </el-form>
      <el-button slot="reference" type="primary">查询</el-button>
    </el-popover>
    <!-- 表格-->
    <!-- 编辑 -->
  </div>
</template>
<script>
// import api from 'plugins/axios/api.js';
export default {
  data(){
    return {
      search:{
        userName:'测试1',
        reqTime:'测试2'
      }
    }
  },
  watch:{
  },
  computed:{
    tableHeight(){
      return this.$store.state.clientHeight-184;
    }
  },
  created(){

  },
  methods:{
    searchClick(){

    }
  }
}
</script>
<style lang="stylus" scoped>

</style>
